package com.example.springboot_sp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 郭守军
 * @since 2022-09-05
 */
@Getter
@Setter
  @TableName("t_carousel")
@ApiModel(value = "Carousel对象", description = "")
public class Carousel implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("标题")
      private String name;

      @ApiModelProperty("内容")
      private String content;

      @ApiModelProperty("url")
      private String url;

      @ApiModelProperty("用户")
      private String user;

      @ApiModelProperty("时间")
      private LocalDateTime time;

      @ApiModelProperty("是否启用")
      private Boolean enable;

      @ApiModelProperty("文件md5")
      private String md5;


}
